﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace DataTier.Entities
{
    /// <summary>
    /// Композитный тип данных, возвращающий расширенный объект Юридическое лицо
    /// </summary>
    [Serializable]
    public class JuridicalPersonEntity
    {
        
        public int JuridicalPersonId
        {
            get { return juridicalPersonId; }
            set { juridicalPersonId = value; }
        }
        private int juridicalPersonId;


        
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string name;


        
        public int? CompanyId
        {
            get { return companyId; }
            set { companyId = value; }
        }
        private int? companyId;


        
        public string CompanyName
        {
            get { return companyName; }
            set { companyName = value; }
        }
        private string companyName;



        public string ManagerEMail
        {
            get { return managerEMail; }
            set { managerEMail = value; }
        }
        private string managerEMail;


        
        public bool? Deleted
        {
            get { return deleted; }
            set { deleted = value; }
        }
        private bool? deleted;

    }

}
